package org.ceteca.explica.core.common;

import java.util.Comparator;

public class ImageComparator implements Comparator {

	public int compare(Object arg0, Object arg1) {
		ImageOT img1 = (ImageOT) arg0;
		ImageOT img2 = (ImageOT) arg1;

	    return new Long(img1.getIdImage()).compareTo(new Long(img2.getIdImage()));
	}

}
